#ifndef _HJ212_BASE_REQUEST_H
#define _HJ212_BASE_REQUEST_H

#include "hj212_client_def.h"
#include "hj212_request.h"
#include "hj212_client_ops.h"

int hj212_data_request_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 提取数据(2051, 2061, 2031)
int hj212_request_1000_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 设置超时时间和重发次数
int hj212_request_1011_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 提取现场机时间
int hj212_request_1012_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 设置现场机时间
int hj212_request_2011_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 启动实时数据
int hj212_request_2012_match(struct hj212_client *client, struct hj212_generalmsg *msg, uint32_t package_state);    // 关闭实时数据



#endif
